<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Error extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}

	/**
	 * shows a 404 error page
	 */
	public function index()
	{
		$this->load->view('header');
		$loginData['isLoggedIn'] = false;
		$this->load->view('login', $loginData);

		$menu['activeController'] = '';
		$this->load->view('menu',$menu);
		$this->load->view('404');
		$this->load->view('footer');
	}
	
	public function noAccess (){
		$this->load->view('503');
	}
}